package com.lcw.lostandfound.service;

import com.github.pagehelper.PageInfo;
import com.lcw.lostandfound.pojo.Notice;

import java.util.List;

public interface NoticeService {
    List<Notice> findAllNotice();
    int deleteNotice(Integer id);
    int updateNotice(Notice notice);
    int insertNotice(Notice notice);
    Notice queryNoticeById(Integer id);
    PageInfo<Notice> listNotices(Integer pageNum, Integer pageSize);
}
